//
//  XFDLogInNetAPI.h
//  BlocksKit
//
//  Created by 韩冰 on 2017/11/10.
//

#import <Foundation/Foundation.h>

typedef void(^requestSuccessBlock)(id response);
typedef void(^requestFailureBlock)(NSError *error,NSString *tips);

@interface XFDLogInNetAPI : NSObject

//手机号密码登录
+ (void)loginWithPassWord:(NSMutableDictionary *)dict  WithSuccessBlock:(requestSuccessBlock)success WithFailurBlock:(requestFailureBlock)failure;

//获取验证码
+ (void)getVerificationcode:(NSMutableDictionary *)dict  WithSuccessBlock:(requestSuccessBlock)success WithFailurBlock:(requestFailureBlock)failure;
//验证码登录
+ (void)loginWithCode:(NSMutableDictionary *)dict  WithSuccessBlock:(requestSuccessBlock)success WithFailurBlock:(requestFailureBlock)failure;
//检查验证码
+(void)checksmscode:(NSMutableDictionary *)dict  WithSuccessBlock:(requestSuccessBlock)success WithFailurBlock:(requestFailureBlock)failure;
//设置用户信息
+(void)setRegisterInfo:(NSMutableDictionary *)dict  WithSuccessBlock:(requestSuccessBlock)success WithFailurBlock:(requestFailureBlock)failure;

+(void)findThePassWordInfo:(NSMutableDictionary *)dict  WithSuccessBlock:(requestSuccessBlock)success WithFailurBlock:(requestFailureBlock)failure;
@end
